﻿Imports Comercializacion_ADO
Imports Comercializacion_BE

Public Class periodosBL

    Dim da As New periodosADO

    Public Function RecuperarAnios() As List(Of aniosBE)
        Return da.RecuperarAnios()
    End Function

    Public Function RecuperarMeses() As List(Of mesesBE)
        Return da.RecuperarMeses()
    End Function

    Public Function RecuperarEstados() As List(Of estadosBE)
        Return da.RecuperarEstados()
    End Function

    Public Function ValidarPeriodo(ByVal anio As String, ByVal mes As String) As List(Of periodosBE)
        Return da.ValidarPeriodo(anio, mes)
    End Function


    Public Function InsertarPeriodos(ByVal periodos As periodosBE) As Boolean
        Return da.InsertarPeriodos(periodos)
    End Function


    Public Function ObtenerPeriodosGrid() As DataTable
        Return da.ObtenerPeriodosGrid()
    End Function


    'Public Function ModificarPeriodos(ByVal prds As metales_preciososBE) As Boolean
    '    Return da.ModificarPeriodos(prds)
    'End Function


End Class
